/**
 * Copyright (c) 2007, Blue Hole Software. All rights reserved.
 * Code licensed under the Apache 2.0 License:
 * http://www.apache.org/licenses/
 */

package org.bhf.service.view;

import org.bhf.service.ProcessView;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.lang.reflect.Method;

/**
 * Process view that does nothing, or can be used as a marker.
 */
public class NullProcessView implements ProcessView
{
    public NullProcessView(  final Object service, final Method method, final Object result ) { }

    /**
     *
     * @param request Servlet request
     * @param response Servlet response
     * @param servletContext The servlet context for this application
     * @throws java.io.IOException ConversionError writing body
     * @exclude
     */
    public void processView( final HttpServletRequest request, final HttpServletResponse response, final ServletContext servletContext )
        throws IOException
    {
    }
}